package com.yuma.springshiroredisthymeleaf.dao;

import com.yuma.springshiroredisthymeleaf.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface RoleDao {
    // 根据用户id查询此用户所有角色
    List<Role> selectByUserId(Integer userId);
}
